﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;

namespace USERS.CYT369.COM.MODELS.Brand
{
    /// <summary>
    /// 品牌表
    /// </summary>
    [Table("TB_Brand")]
    public class Brand
    {
        public int Id { get; set; }
        /// <summary>
        /// 品牌名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 投资金额 
        /// 1:5w以下  
        /// 2:5w~10w  
        /// 3:10w~20w  
        /// 4:20w~50w 
        /// 5:50w~100w 
        /// 6:100w以上
        /// </summary>
        public int Amount { get; set; }

        /// <summary>
        /// 门店数量
        /// </summary>
        public int StoreCount { get; set; }

        /// <summary>
        /// 咨询人数
        /// </summary>
        public int InquiryCount {  get; set; }

        /// <summary>
        /// 主营产品
        /// </summary>
        public string MainProduct { get; set; }

        /// <summary>
        /// 适合人群
        /// </summary>
        public string TargetAudience {  get; set; }

        /// <summary>
        /// 发展模式
        /// </summary>
        public string DevelopmentModel { get; set; }

        /// <summary>
        /// 招商网址
        /// </summary>
        public string FranchiseWebsite {  get; set; }

        /// <summary>
        /// 品牌简介
        /// </summary>
        public string Brief { get; set; }

        ///// <summary>
        ///// 审核人员id
        ///// </summary>
        //public int? ReviewerID {  get; set; }

        ///// <summary>
        ///// 审核时间
        ///// </summary>
        //public DateTime? ReviewDate {  get; set; }

        /// <summary>
        /// 审核结果 -2草稿 -1审核不通过 0待审核 1审核通过
        /// </summary>
        public int ReviewResult { get; set; }

        #region 编辑
        /// <summary>
        /// 编辑人编号
        /// </summary>
        public int? EditorID { get; set; }

        /// <summary>
        /// 编辑人用户名
        /// </summary>
        public string? EditorName { get; set; }

        /// <summary>
        /// 编辑人姓名
        /// </summary>
        public string? EditorFullName { get; set; }

        /// <summary>
        /// 编辑时间
        /// </summary>
        public DateTime? EditDate { get; set; }
        #endregion

        #region 创建
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateDate { get; set; }

        /// <summary>
        /// 创建者用户名
        /// </summary>
        public string? CreatorName { get; set; }

        /// <summary>
        /// 创建者姓名
        /// </summary>
        public string? CreatorFullName { get; set; }
        #endregion

        /// <summary>
        /// 加盟区域编号
        /// </summary>
        public int? FranchiseRegionID {  get; set; }

        /// <summary>
        /// 是否删除的状态字段
        /// </summary>
        public bool IsDeleted {  get; set; }

        /// <summary>
        /// 品牌扩展表 1-1
        /// </summary>
        public BrandExtension BrandExtension { get; set; }

        /// <summary>
        /// 品牌图片表 1-n
        /// </summary>
        public List<BrandImage> BrandImages { get; set; }

        /// <summary>
        /// 轮播图 1-n
        /// </summary>
        public List<Carousel> Carousels { get; set; }

        /// <summary>
        /// 热点品牌表 1-n
        /// </summary>
        public List<HotBrand> HotBrands { get; set; }

        /// <summary>
        /// 咨询表 1-n
        /// </summary>
        public List<Inquiry> Inquiries { get; set; }


        /// <summary>
        /// 类别表 ID
        /// </summary>
        public int? CategoryID { get; set; }
        /// <summary>
        /// 类别表
        /// </summary>
        public Category? Category { get; set; }
    }
}
